<template>
  <div>
    我是儿子：{{ fatherLove }}---{{ mothersLove }}
  </div>
</template>
<script>
  export default {
    props: ["fatherLove", "mothersLove"], //定义了2个自定义属性
  };
</script>